﻿namespace WeWork.SDK.Framework.Entitys.Send
{
    /// <summary>
    /// 文件
    /// </summary>
    public class ChatFile : ChatSend
    {
        public ChatFileDetail file { get; set; }
    }

    public class ChatFileDetail
    {
        /// <summary>
        /// 媒体资源的id信息。String类型
        /// </summary>
        public string sdkfileid { get; set; }

        /// <summary>
        /// 资源的md5值，供进行校验。String类型
        /// </summary>
        public string md5sum { get; set; }

        /// <summary>
        /// 文件名称。String类型
        /// </summary>
        public string filename { get; set; }

        /// <summary>
        /// 文件类型后缀。String类型
        /// </summary>
        public string fileext { get; set; }

        /// <summary>
        /// 文件大小。Uint32类型
        /// </summary>
        public int filesize { get; set; }
    }
}
